/*
 * @Date: 2021-08-15 23:11:38
 * @LastEditors: Wangjun
 * @LastEditTime: 2023-03-15 18:39:39
 * @FilePath: \golib\js\jstask\boss.go
 * @Description:
 */
package jstask

import (
	"github.com/robfig/cron/v3"
)

var boss *Boss = new(Boss)

type Boss struct {
	SyncTask  SyncTask
	AsyncTask AsyncTask
	asyncCron *cron.Cron
	syncCron  *cron.Cron
}

// GetLuadbBoss 获取管理boss
func GetTasks() *Boss {
	return boss
}
